package com.risenb.service;

import java.util.List;

import com.risenb.bean.Permission;

/**
 * 权限
 * 
 * @author risenb-java001
 *
 */
public interface PermissionService {
	
	List<Permission> queryAll();

	int removePermissionById(Integer id);

	int createPermission(Permission record);

	Permission queryPermissionById(Integer id);

	int modifyPermissionById(Permission record);

	List<Permission> queryMenus();

	List<Permission> queryPermissionByParentId(Integer parentid);
}
